package cn.huapu.power.energy.service.impl;

import cn.huapu.power.energy.bean.SysVoltagelevelt;
import cn.huapu.power.energy.bean.bo.DateParameterBo;
import cn.huapu.power.energy.bean.vo.DropDownVo;
import cn.huapu.power.energy.mapper.SysVoltageleveltMapper;
import cn.huapu.power.energy.service.SysVoltageleveltService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 测试用户权限服务实现类
 * @author autogen
 *
 */
@Service
public class SysVoltageleveltServiceImpl extends BaseServiceImpl<SysVoltageleveltMapper, SysVoltagelevelt,Integer> implements SysVoltageleveltService {
    @Override
    @Transactional(readOnly = true)
    public List<DropDownVo> volLevelDrop() {
        return mapper.volLevelDrop();
    }

    @Override
    @Transactional(readOnly = true)
    public List<SysVoltagelevelt> voLevelt() {
        List<SysVoltagelevelt> list = mapper.voLevelt();
        return list;
    }
}
